SITransformation.GetTranslation

説明

この変換の移動ベクトルを、3D ベクトルで戻します。

スクリプト 構文

SITransformation.GetTranslation( io_pTransVect );

パラメータ

パラメータ タイプ 詳細
io_pTransVect SIVector3 移動値からなる 3D ベクトル

VBScript の例

dim t1, trans
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D vector.
set trans = XSIMath.CreateVector3
'Do something on t1
'Then get the translation vector
t1.GetTranslation trans

関連項目

SITransformation.SetTranslation SITransformation.PosX SITransformation.PosY SITransformation.PosZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion